package com.hgyc.mom.tool.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;

import com.hgyc.mom.common.annotation.Excel;
import com.hgyc.mom.core.mybatis.EQ;
import com.hgyc.mom.core.mybatis.Like;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * sop版本管理
 * </p>
 *
 * @author fwj
 * @since 2025-07-28
 */
@Data
@TableName("sop_app_version")
@Schema(name="sop版本管理对象", description="sop版本管理对象")
public class SopAppVersion implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description = "")
    private Long id;

    @Excel(name = "版本号")
    @Like
    @Schema(description = "版本号")
    private String version;

    @Excel(name = "文件名")
    @Schema(description = "文件名")
    private String fileName;

    @Excel(name = "文件路径")
    @Schema(description = "文件路径")
    private String filePath;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "")
    private Long createBy;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "")
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "")
    private Long updateBy;

    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "")
    private LocalDateTime updateTime;

}
